package com.zhongli.devplatform.po.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadUserAdmin")
@Data
@TableName(value = "read_user_admin")
public class ReadUserAdminPO {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 账号
     */
    @TableField(value = "account_num")
    @ApiModelProperty(value="账号")
    private String accountNum;

    @TableField(value = "password")
    @ApiModelProperty(value="")
    private String password;

    @TableField(value = "username")
    @ApiModelProperty(value="用户名")
    private String username;

    @TableField(value = "head_img")
    @ApiModelProperty(value="用户头像")
    private String headImg;

    /**
     * 是否启用：0不启用，1启用
     */
    @TableField(value = "is_enable")
    @ApiModelProperty(value="是否启用：0不启用，1启用")
    private Boolean isEnable;

    /**
     * 是否删除：0未删除，1已删除
     */
    @TableField(value = "is_delete",fill = FieldFill.INSERT)
    @ApiModelProperty(value="是否删除：0未删除，1已删除")
    @TableLogic
    private Boolean isDelete;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Integer createUserId;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;
}